package service;

import pojo.User;

import java.util.List;

public interface UserService {
//查询所有用户
    List<User> findAll();

//注册添加用户
    int addUser(User user);

    User findById(Integer id);

    int updateUser(User user);

    int DeleteUserById(Integer id);
}
